package com.qfedu.food.config;

public class SystemConfig {
    //阿里云-OSS 存储的空间名称
    //OSS访问链接的有效期 10分钟
    public static final int OSS_URLTIME=600;
    //存储空间
    public static final String OSS_BNAME="zzjava2008";

    //用户日志的类型
    public static final int USER_ADD=1;//新增
    public static final int USER_LOGIN=2;//登陆

    //短信验证码的长度
    public static final int SMS_CODELEN=6;

    //短信的类型
    public static final int SMS_CODEADD=1;
    public static final int SMS_CODEFIND=2;

    //Redis地址
    public static final String REDIS_HOST="39.97.244.123";
    public static final int REDIS_PORT=6380;
    public static final String REDIS_PASS="qfjava";

    //用户状态标记
    public static final int LOGIN_OK=1;
    public static final int LOGIN_ERROR=2;

    //Token的时间
    public static final int JWT_TOKENTIME=30;

    //JWT密钥
    public static final String JWT_KEY="startcoding";

}
